Component({
  properties: {
    loadingEndText: {
      type: String,
      value: '暂无数据'
    }
  },
  data: {
    loadStatus: 'LOADED', // FINISH 结束 LOADING 加载中 LOADED 加载完毕
    offsetY: 100
  },
  attached() {},
  ready() {},
  methods: {
    touchEnd(e) {
      console.log('end', e);
    },
    touchMove(e) {
      console.log('move', e);
    },
    touchStart(e) {
      console.log('start', e);
    },
    pullUp() {
      console.log('pullup');
    },
    pullDown() {
      let myEventDetail = {};
      let myEventOption = {};
      this.triggerEvent('pullDown', myEventDetail, myEventOption);
    },
    scrolling() {
      //console.log('scrolling');
    },
    updateLoadStatus(status) {
      this.setData({ loadStatus: status });
    }
  }
});
